<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Settings.aspx.cs" Inherits="Settings" title="Project Monitoring System" culture="Auto:en-US" uiculture="auto" meta:resourcekey="PageResource1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"
    Visible="false">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
	<fieldset style="width:900px;height:120px">
		<legend><asp:Label ID="lblSystemSetting" runat="server" Text="System Setting" meta:resourcekey="lblRoleResource1"></asp:Label></legend>
		<table width="900">
			<tr>
				<td colspan="3" align="left">
					<asp:Label ID="lblNote" runat="server" Text="This is a reminder setting, set it to ticked if you want to filter the reminder by Group Level or set it unticked if you want it filtered by Responsible persons." 
			meta:resourcekey="lblNoteResource1"></asp:Label>
				</td>
			</tr>
			<tr>
				<td colspan="3" align="left" valign="middle">
					<asp:ObjectDataSource ID="ODSSettings" runat="server"
										SelectMethod="GetReminderModeData" TypeName="IPTableAdapters.SystemSettingTableAdapter"
										UpdateMethod="Update" OldValuesParameterFormatString="original_{0}">
						<UpdateParameters>
							<asp:Parameter Name="ReminderMode" Type="Int32" />
						</UpdateParameters>
					</asp:ObjectDataSource>
					<asp:RadioButton ID="rbGroup" runat="server" Checked="True" GroupName="Filter" AutoPostBack="True"
									Text="Filter by Group Level" meta:resourcekey="rbGroupResource1" />
					<br/>
					<asp:RadioButton ID="rbResponsible" runat="server" GroupName="Filter" AutoPostBack="True" Text="Filter by Responsible Person" meta:resourcekey="rbResponsibleResource1" />
				</td>
			</tr>
			<tr>
				<td width="160" align="left">
					<asp:Label ID="lblDocumentDirectory" runat="server" Text="Document Directory" meta:resourcekey="lblDocumentDirectoryResource1"></asp:Label>
				</td>
				<td width="100" align="left">
					<asp:TextBox ID="txtDocumentDirectory" runat="server" MaxLength="100" meta:resourcekey="txtDocumentDirectoryResource1"></asp:TextBox></td>
				<td width="600" align="left">
					<asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" meta:resourcekey="btnSaveResource1" /></td>
			</tr>
		</table>
	</fieldset>
	<table height="500">
		<tr><td></td></tr>
	</table>
</asp:Content>

